package com.example.lemis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.lemis.model.domain.Admin;
import com.example.lemis.model.dto.PageDTO;
import com.example.lemis.model.vo.AdminInfoVO;
import jakarta.annotation.PreDestroy;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 管理系统用户 Mapper 接口
 * </p>
 *
 * @author lxp
 * @since 2025-06-24
 */
public interface AdminMapper extends BaseMapper<Admin> {

    List<String> selectPermsById(Long adminId);

    Page<AdminInfoVO> selectAdminList(@Param("page") Page<AdminInfoVO> page);
}
